import SvgIcon from '@/components/SvgIcon/index.vue'
import Pagination from '@/components/Pagination/index.vue'

const allGlobalComponents: any = {
    SvgIcon,
    Pagination,
}

export default {
    install(app: any) {
        Object.keys(allGlobalComponents).forEach((key) =>
            app.component(key, allGlobalComponents[key]),
        )
    },
}
